package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap8 extends OSMap
	{
		public function OSMap8()
		{
			super();

			var ground:OSGround = new OSGround(940, 900, 20, 160, 0, false);
			ground.setNoErosionDown([7]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(0, 420, 700, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([34]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 1060, 960, 20, 0, false);
			ground.setNoErosionUp([35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(-20, 500, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(540, 500, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(700, 420, 260, 640, 0, false);
			ground.setNoErosionDown([403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415]);
			ground.setNoErosionLeft([0, 91]);
			ground.setNoErosionRight([415]);
			ground.erode();
			add(ground);

		}
	}
}
